home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 16055 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: news.cyberport.com!usenet
  2. From: tangent@cyberport.com (Warren Young)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: string class in STL?
  5. Date: Tue, 09 Apr 1996 10:04:19 GMT
  6. Organization: none
  7. Message-ID: <316a34e3.6585148@news.cyberport.com>
  8. References: <4k53js$i4o@cloner2.ix.netcom.com> <marnoldDpFo2B.9t3@netcom.com> <smithDpHKuo.E2y@netcom.com>
  9. NNTP-Posting-Host: ppp5.cyberport.com
  10. X-Newsreader: Forte Agent .99d/32.182
  11.  
  12. smith@netcom.com ( David Smith at Cal Poly San Luis Obispo) wrote:
  13.  
  14. >: >Is there a 'string' class in the STL?
  15. >
  16. >: Nope.
  17.  
  18. Well, not in STL, but in the standard C++ library...
  19.  
  20. >: >#include "bstring.h"
  21. >
  22. >bstring.h is from Berkely (BDS) Unix.
  23.  
  24. Bzzt, wrong.  (Well, maybe "Berkeley (BSD)" UNIX does have one, but
  25. that's not the first place I saw it.)  It's probably Modena's basic
  26. string header, available from ftp://ftp.cs.rpi.edu/pub/stl/book in
  27. several archive formats.  You might have to tweak it some to get it to
  28. work.
  29.  
  30. The standard C++ library version is in cstring.h (or probably just
  31. "cstring" now) last I checked.  With the recent Working Paper release,
  32. more compilers should begin supporting it.  Borland C++ already does,
  33. though I hear it isn't a perfect implementation, from a standards
  34. point of view.
  35.  
  36. = Warren --
  37.